package net.betou.cms.dao.main.impl;

import net.betou.cms.dao.main.ChannelExtDao;
import net.betou.cms.entity.main.ChannelExt;
import net.betou.common.hibernate3.HibernateBaseDao;

import org.springframework.stereotype.Repository;

@Repository
public class ChannelExtDaoImpl extends HibernateBaseDao< ChannelExt, Integer > implements ChannelExtDao{
	public ChannelExt save( ChannelExt bean ) {
		getSession( ).save( bean );
		return bean;
	}

	@Override
	protected Class< ChannelExt > getEntityClass( ) {
		return ChannelExt.class;
	}
}